#ifndef ENTITYREGISTRY_H
#define ENTITYREGISTRY_H
#include <map>
#include <string>
#include <typeinfo>
#include "BaseOBJ.h"


class EntityRegistry
{
    public:
        EntityRegistry();
        BaseOBJ newType(std::string name);
        void RegisterType(std::string name, BaseOBJ obj);
    protected:
    private:
        std::map<std::string, BaseOBJ> types;
};

#endif // ENTITYREGISTRY_H
